//权限接口
import request from '@/utils/request'

export function listPermission(data) {
  return request({
    url: '/backend/permission/list',
    method: 'post',
    data:data
  })
}
export function addPermission(data) {
  return request({
    url: '/backend/permission/list',
    method: 'post',
    data:data
  })
}
export function deletePermission(data) {
  return request({
    url: '/backend/permission/delete',
    method: 'post',
    data:data
  })
}
export function editPermission(data) {
  return request({
    url: '/backend/permission/update',
    method: 'post',
    data:data
  })
}




